how to find the perimeter of a polygon with missing sides